projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9621466
)
(abort): Omit this definition, if NO_ABORT.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 29 Apr 1998 05:02:34 +0000
(
05:02
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 29 Apr 1998 05:02:34 +0000
(
05:02
+0000)
End by calling exit, to avoid warning.
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index 82d105a4e240483cebe3552dfd930391c1e50659..18cf9a7c2a52eb592027fb316eb8968c32fe5081 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-267,11
+267,13
@@
memory_warning_signal (sig)
so that GDB can return from a breakpoint here.
MSDOS has its own definition on msdos.c */
-#if
ndef DOS_NT
+#if
! defined (DOS_NT) && ! defined (NO_ABORT)
void
abort ()
{
kill (getpid (), SIGABRT);
+ /* This shouldn't be executed, but it prevents a warning. */
+ exit (1);
}
#endif